projects
/
gpsbabel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cbe89d5
)
strdup->xstrdup.
author
robertl
<robertl>
Mon, 20 Feb 2006 20:05:45 +0000
(20:05 +0000)
committer
robertl
<robertl>
Mon, 20 Feb 2006 20:05:45 +0000
(20:05 +0000)
overlay.c
patch
|
blob
|
history
diff --git
a/overlay.c
b/overlay.c
index 95d0e6f7debfac3a6d16f6dc0030d765e6085a6f..1c371a4e2dccd5568b1da59a534ee4a8facba305 100644
(file)
--- a/
overlay.c
+++ b/
overlay.c
@@
-424,11
+424,11
@@
void ovl_read_parameter(char *fname)
pstr = strtok(NULL,"\n");
if (p->argtype==ARGTYPE_BOOL)
{
- *(p->argval) = atoi(pstr) ? strdup(pstr) : NULL;
+ *(p->argval) = atoi(pstr) ?
x
strdup(pstr) : NULL;
}
else
{
- *(p->argval) = strdup(pstr);
+ *(p->argval) =
x
strdup(pstr);
}
break;
}